﻿@using Abp.MultiTenancy
@using LTMCompanyNameFree.YoyoCmsTemplate.Web.ViewModels.Common.Modals
@using LTMCompanyNameFree.YoyoCmsTemplate.Web.Views.Shared.Components.TenantChange
@model ChangeModalViewModel
@{
    Layout = null;
}
@Html.Partial("~/Views/Shared/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(L("ChangeTenant")))

<div class="modal-body">
    <form name="TenantChangeForm" role="form" novalidate class="form-validation">
        <div class="form-group mb-4">
             
                <label >@L("TenancyName")</label>
                <input class="form-control" type="text" name="TenancyName" maxlength="@AbpTenantBase.MaxTenancyNameLength" value="@Model.TenancyName">

           
        </div>
         

        <span class="text-secondary">@L("LeaveEmptyToSwitchToHost")</span>
    </form>
</div>

@Html.Partial("~/Views/Shared/Modals/_ModalFooterWithSaveAndCancel.cshtml")

<script src="~/view-resources/Views/Shared/Components/TenantChange/_ChangeModal.js" asp-append-version="true"></script>
